﻿#ifndef FORM_ALERT_H
#define FORM_ALERT_H

#include <QStandardItemModel>
#include <QWidget>

namespace Ui {
	class FormAlert;
}

class FormAlert : public QWidget
{
	Q_OBJECT

public:
	explicit FormAlert(QWidget* parent = nullptr);
	~FormAlert();

public:
	bool readJson();
	void saveJson();

	int curIndex;
	QStandardItemModel* model_data;
	void init_tableview();
	void update_tableview();

private:
	Ui::FormAlert* ui;
};

#endif // FORM_ALERT_H
